package com.grao.waterschool.human.config;

import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.util.MultiValueMap;

public class EraseTypeResponseEntity extends ResponseEntity {

    private final String msg;

    EraseTypeResponseEntity(String msg, MultiValueMap<String, String> headers, HttpStatus status) {
        super(null, headers, status);
        this.msg = msg;
    }

    @Override
    public Object getBody() {
        return this.msg;
    }
}
